package com.zlt.bkparking.mapper;

import com.zlt.bkparking.entity.AppUser;
import com.zlt.bkparking.entity.AppUserExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

@Repository
public interface AppUserMapper {
    long countByExample(AppUserExample example);

    int deleteByExample(AppUserExample example);

    int deleteByPrimaryKey(String auId);

    int insert(AppUser record);

    int insertSelective(AppUser record);

    List<AppUser> selectByExample(AppUserExample example);

    AppUser selectByPrimaryKey(String auId);

    int updateByExampleSelective(@Param("record") AppUser record, @Param("example") AppUserExample example);

    int updateByExample(@Param("record") AppUser record, @Param("example") AppUserExample example);

    int updateByPrimaryKeySelective(AppUser record);

    int updateByPrimaryKey(AppUser record);

    List<AppUser> selectVIPUser(@Param("auNickname") String auNickname,@Param("auPhone") String auPhone, @Param("buId")Long buId,@Param("vId")Integer vId);

    List<AppUser> selectNotVip(@Param("auIds") List<String> auIds,@Param("plId") Integer plId);
}